/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package factorial;

import java.util.*;
        
/**
 *
 * @author vesprada
 */
public class Factorial {

    /**
     * @param args the command line arguments
     * OLA K ASE
     */
    public static void main(String[] args) {
        
               
    Scanner sc=new Scanner(System.in);
        
        int i=1, fact=1;
                        
       for (i=1;i<=10;i++){
                     
         fact=fact*i;
          
               
        System.out.println(fact);
        }
        // TODO code application logic here
    }
}
